package com.yyt.bloonfilter.demo;

import com.yyt.bloonfilter.utils.MyBloomFilter;

/**
 * @author yeyangtao
 * @date 2020/6/2 11:49
 */
public class MyBloomFilterDemo {
    public static void main(String[] args) {
        MyBloomFilter bf = new MyBloomFilter();
        System.out.println(bf.contains(1));
        bf.add(1);
        System.out.println(bf.contains(1));
    }
}
